package com.mall.service;

import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.mall.common.ServerResponse;

public interface IOrderService {
	
	public ServerResponse pay(Integer userId, long orderNo, String path);
	
	public ServerResponse aliCallback(Map<String ,String> params);
	
	public ServerResponse<Boolean> queryOrderPaySatus(Integer userId,Long orderNo);

	public ServerResponse createOrder(Integer userId, Integer shippingId);

	public ServerResponse cancelOrder(Integer userId, Long orderNo);

	public ServerResponse getOrderCartProduct(Integer userId);

	public ServerResponse getDetail(Integer userId, Long orderNo);

	public ServerResponse<PageInfo> getOrderList(Integer userId, Integer pageNum, Integer pageSize);
 
	
	//后台功能
	
	public ServerResponse manageGetDetail(Long orderNo);

	public ServerResponse<String> send_goods(Long orderNo);

	public ServerResponse<PageInfo> manageSearch(Long orderNo,Integer pageNum, Integer pageSize);

	public ServerResponse manageList(Integer pageNum, Integer pageSize);
	
	   
	
	
} 
